package cn.tuling.config;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class AspectConfig {

    @Before("execution(public void cn.tuling.service.UserService.test())")
    public void before() {
        System.out.println("before...");
    }
}
